﻿package {
	import flash.display.MovieClip;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import hunterCommonlib.ui.ico.Ico;
	import hunterCommonlib.ui.panel.Panel;
	
	/**
	* ...
	* @author Default
	*/
	public class panels extends MovieClip {
		public var ico_mc:Ico;
		public var panel:Panel
		public function panels() {
			panel.setDrag();
			stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
			ico_mc.setFile("http://i8.17173.itc.cn/web/2008/11/14/yr801.jpg")
			//ico_mc.addEventListener(MouseEvent.CLICK, changeHandler);
		}
		private function mouseMoveHandler(e:MouseEvent) {
			e.updateAfterEvent();
		}
		private function changeHandler(e:MouseEvent) {
			ico_mc.setFile("http://i2.17173.itc.cn/web/2008/11/14/yr804.jpg")
		}
	}
	
}